package org.itboys.mobile.entity.mongo;

import org.itboys.mongodb.entity.BaseMongoEntity;
import org.mongodb.morphia.annotations.Entity;

/**
 * Auther: 罗尧坤
 * Date: 2018/7/18
 * Description:集楼_浏览记录实体类
 */

@Entity(value = "SundayTrip", noClassnameStored = true)
public class SundayTrip extends BaseMongoEntity {
    private Long memberId;//当前用户id
    private Long productId;//浏览商品id

    public SundayTrip() {
    }

    public SundayTrip(Long memberId, Long productId) {
        this.memberId = memberId;
        this.productId = productId;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

}
